package br.com.centrodata.controller;

import br.com.caelum.vraptor.*;
import br.com.centrodata.dao.UserDao;
import br.com.centrodata.interceptor.SessionInfo;


/**
 *
 * @author programador03
 */
@Resource
public class MenuController {
    
    private final Result      result;
    private final Validator   validator;
    private final SessionInfo sessionInfo;
    private final UserDao     dao;
    

    public MenuController(Result result, SessionInfo sessionInfo, UserDao dao, Validator validator){
        this.result      = result;
        this.sessionInfo = sessionInfo;
        this.dao         = dao;
        this.validator   = validator;
    }
    
    @Path("/")
    @Get
    public void incio() {
        result.forwardTo(this).menu();
    }
    
    @Path("/menu/admin")
    @Get
    public void menu(){
    }
}
